<?php
require_once('conn.php');

$rs = mysql_query('select hp,nama,kelompok from stockiest limit 50');
$result = array();
while($row = mysql_fetch_object($rs)){
	array_push($result, $row);
}

echo json_encode($result);
?>
